﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.Serialization;
using System.Text;

namespace KC.Framework.Tenant
{
    [DataContract]
    public enum DatabaseType
    {
        [Description("Sql Server")]
        [EnumMember]
        SqlServer = 0,
        [Description("MySql")]
        [EnumMember]
        MySql = 1,
        [Description("未知")]
        [EnumMember]
        UNKNOWN = 99
    }
    [DataContract]
    public enum StorageType
    {
        [Description("Azure Blob")]
        [EnumMember]
        Blob = 0,
        [Description("本地文件")]
        [EnumMember]
        File = 1,
        [Description("FTP")]
        [EnumMember]
        FTP = 2,
        [Description("AWS S3")]
        [EnumMember]
        AWSS3 = 3,
        [Description("Ali NAS")]
        [EnumMember]
        AliNAS = 4,
        [Description("Ali OSS")]
        [EnumMember]
        AliOSS = 5,
        [Description("未知")]
        [EnumMember]
        UNKNOWN = 99
    }
    [DataContract]
    public enum QueueType
    {
        [Description("Azure Queue")]
        [EnumMember]
        AzureQueue = 0,
        [Description("Azure ServiceBus")]
        [EnumMember]
        ServiceBus = 1,
        [Description("MSMQ")]
        [EnumMember]
        MSMQ = 2,
        [Description("Kafka")]
        [EnumMember]
        Kafka = 3,
        [Description("Redis")]
        [EnumMember]
        Redis = 4,
        [Description("未知")]
        [EnumMember]
        UNKNOWN = 99
    }
    [DataContract]
    public enum NoSqlType
    {
        [Description("AzureTable")]
        [EnumMember]
        AzureTable = 0,
        [Description("MongDB")]
        [EnumMember]
        MongDB = 1,
        [Description("未知")]
        [EnumMember]
        UNKNOWN = 99
    }
    [DataContract]
    public enum DistributedMessageType
    {
        [Description("ServiceBus")]
        [EnumMember]
        ServiceBus = 0,
        [Description("Kafka")]
        [EnumMember]
        Kafka = 1,
        [Description("Redis")]
        [EnumMember]
        Redis = 2,
        [Description("未知")]
        [EnumMember]
        UNKNOWN = 99
    }
}
